Skip to content

Conversation

@lodev09
Copy link
Owner

@lodev09 lodev09 commented Nov 23, 2025

Changes

🎉 Features

  • React Native Screens Integration
    • Implemented RNSDismissibleModalProtocol to prevent automatic sheet dismissal when presenting modals
    • Added support for presenting React Navigation modals from within TrueSheet
    • Sheet now remains visible behind React Navigation modals without false dismiss events
    • Navigation from sheets works seamlessly without requiring dismissal first

🔧 Improvements

  • Added release-beta script for streamlined beta release process
  • Updated README documentation to reflect new navigation capabilities
  • Code cleanup and formatting with tidy pass

🛠️ Build & CI

  • Disabled build CI temporarily
  • Updated CI workflow configuration

Migration Notes

No breaking changes in this beta release. The react-native-screens integration is fully backward compatible.

What's New in the Example App

  • Navigation integration demo with modal screen
  • Upgraded React Navigation dependencies (7.1.21 & 7.7.0)
  • New NavigationSheet component demonstrating modal presentation
  • Updated navigation examples showing direct navigation without dismissing sheets

Documentation Updates

  • Updated React Navigation troubleshooting guide
  • Added tips about optional dismissal for better UX preferences

- Upgrade React Navigation deps to latest (7.1.21 & 7.7.0)
- Convert Button component from TouchableOpacity to Pressable with touch feedback
- Add NavigationSheet component with detents to demonstrate opening RN modal from TrueSheet
- Add ModalScreen to show modal presentation from within sheet
- Update navigation stack with modal presentation option
…missal

- Add conditional support for react-native-screens RNSDismissibleModalProtocol
- Implement isDismissible method returning NO to prevent automatic dismissal
- Set definesPresentationContext to allow modals to be presented from sheet
- Enables React Navigation modals to be presented while TrueSheet remains open
- Check isBeingDismissed before dispatching willDismiss/didDismiss events
- Prevents false dismiss events when another modal is presented on top
- Preserves sheet state when React components are recreated during navigation
- Allows sheets to remain visible behind React Navigation modals
- Navigation from sheets now works without dismissing first
- Updated example to show direct navigation
- Added tip about optional dismissal for UX preferences
@vercel
Copy link

vercel bot commented Nov 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-native-true-sheet Ready Ready Preview Comment Nov 23, 2025 1:38pm

@lodev09 lodev09 merged commit 2b9ae10 into main Nov 23, 2025
6 of 7 checks passed
@lodev09 lodev09 deleted the feat/rn-screens-integration branch November 23, 2025 13:56
@lodev09
Copy link
Owner Author

lodev09 commented Nov 23, 2025

patched rn-screens for now. Upstream PR software-mansion/react-native-screens#3415

@lodev09
Copy link
Owner Author

lodev09 commented Nov 23, 2025

🚀 This pull request is included in v3.0.0-beta.1. See Release 3.0.0-beta.1 for release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants